Sets the lockMoves property to true, preventing motions caused with the move command from being immediately visible.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
lock moves
# Examples
lock moves
if the lockScreen is false then lock moves
# Description
Use the lock moves command to synchronize motions made with the move command.
The lock moves command sets the lockMoves property to true.
When all pending handlers are finished executing, the lockMoves property is set back to false.
# Tags
# See
- **command:** lock cursor, move, lock messages, unlock moves - **glossary:** property, command - **property:** lockMoves