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