Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Stain Corb on January 14, 2020, 10:47:59 PM

Title: UI get last pointer position, Not getting Position ? [SOLVED]
Post by: Stain Corb on January 14, 2020, 10:47:59 PM
I tried this for making an inventory, But It seams to not be getting any Coordinates.

Do I need to use this with another action for it to work ?. Its always displaying 0.0.
Title: Re: UI get last pointer position, Not getting Position ?
Post by: jeanfabre on January 15, 2020, 01:55:48 AM
Hi,

 I think it only works with touch on mobiles and touch screen devices, can you confirm you are on a touch screen?

 also, when are you requesting this? it has to come from a touch input callback, else indeed there might not be any current pointer in the system to get its position.

Bye,

 Jean
Title: Re: UI get last pointer position, Not getting Position ?
Post by: Stain Corb on January 15, 2020, 09:53:17 AM
O, thanks for reply, I was trying to use it with mouse pointer, My game is PC.

But never mind I decided to just go with static menu at the moment.