getMouseOnScreen method
dynamic
getMouseOnScreen(
- dynamic pageX,
- dynamic pageY
Implementation
getMouseOnScreen(pageX, pageY) {
vector.set(
(pageX - scope.screen['left']) / scope.screen['width'], (pageY - scope.screen['top']) / scope.screen['height']);
return vector;
}