MouseX() MouseY() or store inside variable ?Monkey Programming Forums/Monkey Programming/MouseX() MouseY() or store inside variable ?
| I generally just read them once at the start of the update method. I suspect it will make for greater consistency if nothing else. You run no risk of clicking two buttons (in different places) in the same update, for example.|
But I also doubt whether it will really matter in most situations.