Randomly relocate an actor

omoreno16@wcsmiami.orgomoreno16@wcsmiami.org Member Posts: 10
edited July 2015 in Working with GS (Mac)

how to randomly relocate an actor within a certain range of position

example

relocate something only in the x axis between (0,500)

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    Use a Change Attribute behaviour . . .

    Change self.position.x to random (0,500)

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    Next time I would also make your title about the problem that you are facing, instead of "help" and "help with my game".

Sign In or Register to comment.