Change the position of a Number Attribute

krazziebone02

  • Posts: 113
sir i want to know is how will i change the x and y of a number attribute for example i already declared the number attribute in the the when drawing event so i want to know is when i press a button the number attribute will change the x and y
i want to be the best user of stencyl

t4u

  • Posts: 418
I dont understand. rephrase post
USE PICTURES WHEN YOU ASK SOMETHING!
If I helped you be sure to mention it in your game.

Tutorials + downloads:
http://t4upl.blogspot.com/

krazziebone02

  • Posts: 113
I dont understand. rephrase post

what i mean sir is i have a number attribute and i draw it in when drawing event so what i want to happen is when i press enter the position of x and y of the number attribute will change.....for example the position of number attribute is x = 100 and y = 100 and then i press then after that the position of the number attribute will move
i want to be the best user of stencyl

Bhoopalan

  • Posts: 1016
Add an event as 'when enter is pressed'

from the setters tab in the game attribute, select 'set [game attribute] to game attribute + 10'. Try this. I'm not completely sure though
If I helped you at anytime, help me back build my twitter followers :)
https://twitter.com/imbhoopalan