How to change X and Y position of an Actor?

zielonykid1234

  • Posts: 1
I want to make clicker game with random button spawn, i have two atributes (x and y) and i don't know how to replace position of an Actor to my two atributes. Help. :P

catinas

  • Posts: 57
go to (events) choose from left (do every n seconds) and pick (set x) put in value u want

Luyren

  • *
  • Posts: 2777
I want to make clicker game with random button spawn, i have two atributes (x and y) and i don't know how to replace position of an Actor to my two atributes. Help. :P
Drag the "getter" blocks of your attributes (Attributes > Getter) and place them in the blank spot in the "set X/Y position to ( ) for actor" block.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.