stop moving

Stops an object that was set in motion by the move command.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

stop moving object

# Params

- object : Any window or control being moved with the move command.

# Examples

stop moving card button 2

stop moving the defaultStack

# Description

Use the stop moving command to halt an object before the move command completes.

You can stop moving an object that is not in motion without causing an error, but doing so has no effect.

If you issue another move command while a previous move command for the same object is still execute, the previous move command is halted, and the second move command starts up at the object current location.

To move multiple objects at the same time, set the lockMoves property to true before issuing the move commands. When you set the lockMoves back to false, all the pending moves begin at once.

# Tags

# See

- **command:** move - **glossary:** object, property, command, error, execute - **property:** lockMoves