Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0
Members

Get global position

A topic by SyrupOnWaffles created Oct 19, 2020 Views: 207 Replies: 2
Viewing posts 1 to 2
(1 edit) (+1)

I'm trying to use the .getPosition methods  functions to get the x and y of an object but I just keep getting errors. Is their a certain order or different function you have to use?  

let POS = this.actor.getPosition()

Sup.log(POS.x+"/"+POS.y)

Thanks