# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the lockMoves to {true | false}
# Examples
set the lockMoves to true
# Description
Use the lockMoves property to synchronize object movements.
If the lockMoves property is set to true, when you use the move command to move an object around the screen, the movement does not become visible until the lockMoves is set to false. You can set the lockMoves property to true, start several objects moving, then set the lockMoves to false to begin the motion, as in the following example:
on mouseUp set the lockMoves to true move button 1 to 300,200 in 2 seconds -- doesn't move yet move field 2 to 0,0 in 2 seconds -- doesn't move yet move graphic 3 to 0,400 in 2 seconds -- doesn't move yet set the lockMoves to false -- all three objects start moving end mouseUp
If the lockMoves is false, the movement takes place immediately.
# Tags
# See
- **command:** unlock moves, reset, move - **glossary:** object, property, synchronize, handler, command, execute