stop moving

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
stop moving <object>
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
object

Any window or control being moved with the move command.

Example
stop moving card button 2
stop moving the defaultStack
RelatedCommand: move
Glossary: object, property, command, error, execute
Property: lockMoves
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 executing, the previous move command is halted, and the second move command starts up at the object's 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.

Tagsmultimedia