1 Reply Latest reply on Nov 30, 2006 6:30 AM by Newsgroup_User

    Coordinates xy when click over a sprite

    Level 7
      Hello:

      I need to know the coordinates xy in the position where I click on a
      sprite.
      Wich lingo instruction do that?
      thank you


        • 1. Re: Coordinates xy when click over a sprite
          Level 7
          the clickLoc works relative to the stage

          the clickLoc - point (sprite (me.spriteNum).left, sprite (me.spriteNum).top)
          will work relative to the sprite bouding rectangle.

          --
          Craig Wollman
          Lingo Specialist
          Word of Mouth Productions
          212-928-9581

          www.wordofmouthpros.com
          "Anne" <anmalo42@lycos.es> wrote in message
          news:ekmp0i$oup$1@forums.macromedia.com...
          > Hello:
          >
          > I need to know the coordinates xy in the position where I click on a
          > sprite.
          > Wich lingo instruction do that?
          > thank you
          >