dragSpeed | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: integer Property: pixels, moveSpeed, dragDelta Command: drag, reset, click Function: tool Glossary: property, mouse button, paint tool, command, handler, execute | ||||||
Description | Use the dragSpeed property to control the speed of the drag command. The dragSpeed specifies how many pixels per second the drag command moves. The setting of the dragSpeed affects the smoothness of drags made with some of the paint tools (such as the Spray Can tool) whose action is speed-dependent. If the dragSpeed is zero, the drag command moves as fast as possible. Dragging with the dragSpeed set to zero is equivalent to clicking the start location and immediately releasing the mouse button at the end location. This means you cannot drag shapes other than a straight line if the dragSpeed is zero. | ||||||
Tags | ui |