Change attribute position X

csmyersacsmyersa Member, PRO Posts: 11

Hello hello!

I have an actor that moves from the right to the left. I am trying to create a way that and once it hits x=0 then it reappear at the right of the screen (x=500).

I created a rule which says
When self.position x=0
Change attribute behavior x=500 (far right of my screen)

But it doesnt work. Any ideas why?

I also tried with spawn behavior but it doesnt work either (see second image)


Thank you!

Christina

Comments

Sign In or Register to comment.