Specifies the number of ticks between idle, mouseStillDown, and mouseWithin messages.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the idleTicks to number
# Examples
set the idleTicks to 60 -- 1 second interval
# Description
Adjust the idleTicks property to change the interval between periodically-sent messages. Increasing the idleTicks causes these messages to be sent less frequently, and decreases the amount of CPU time the application uses.
The idleTicks is the time in ticks between one idle message and the next, one mouseStillDown message and the next, and one mouseWithin message and the next.
>*Important:* Some Unix cannot reliably time an interval > less than 12 ticks. Setting a shorter idleTicks on those systems > may cause idle messages to be sent at erratic times.
This property is very similar to the idleRate property, and changes when the idleRate changes. The only difference is that the two properties are given in different time units: the idleRate is in milliseconds and the idleTicks is in ticks.
# Tags
ui,
# See
- **property:** idleRate, properties - **message:** idle, mouseStillDown, mouseWithin - **function:** ticks, milliseconds - **glossary:** property, application, message, Unix