Quote:
Originally Posted by Engine
Would I have to put the showpoly in a timeout to have it so it checks for updates constantly?
|
Yeah, but only check if the variables change. If they do, call a function to update the polygon's position. Don't repeatedly redraw the polygon.
It'd be great if we could bind an event to certain variables that is triggered when the variable changes.