How to view an actor's x and y positions in another actor
helpingtogrow
Member, PRO Posts: 74
Hi, How do I display an actors x and y positions in another couple of
actors.
I'm new to GS.
Thanks
Comments
-have global attributes of playerx and playery.
-in the actor whose position you want to display, have constrain behaviours to constrain the above attributes to self.playerx and self.playery
-in the actor you want to display, have a display text behaviour with game.playerx..” ,”..game.playery (make sure you click on the attributes in the menus, don’t type them out)
Thank you so much
all good. i hope it made enough sense for you to apply to your project.