0

mouse movement

Miguel Gisbert 1 year ago updated by AR555 5 months ago 1

Can I add a PCF event to listen for a mouse movement and set a variable and restart a timer every time the mouse is move? It's to create a screensaver for a Power Apps app. 


Many thanks, 

Miguel Gisbert 

You can implement it using - https://pcf.gallery/onhover-for-power-apps-canvas-apps/   .It has two output properties, one which gives current mouse coordinates and second property gives a boolean value which keeps toggling then there is a mouse movement. With the combination of these two properties and timer control, required functionality can be made possible.