to check if moving.
So your new result for the update method, where everything is only updated if not moving, will be:
def update
@window.update
if !@window.moving?
#Update
end
end
This is because the moving is included in the update method. Unless something else is included in the update method, like in Window_Command, you should use this. But if you manually added something in your own window's update method or used Window_Command, this is your new code:
def update
if @window.moving?
@window.move_wins
else
#Update
end
end
EDIT: Duh. Nvm.
loop do
@window.move_wins
end