How to Image Following Mouse in Gideros
How to Image Following Mouse in Gideros
· ☕ 2 min read

The idea is quite simple. I subscribe to receive notifications that the mouse has moved and at this point I read the position of the mouse. Then I just have to move my image to near the position where the mouse is.


How to Click on Image in Gideros
How to Click on Image in Gideros
· ☕ 2 min read

The snippet below shows how to react to both click and touch events in Gideros Mobile.

Notice that touch events are meant for mobile devices and allow us to handle single and multi touches. On the other hand, mouse events are meant for desktops but you can use them to handle single touchs in mobiles too.