DgsGetMouseStayDelay

From Multi Theft Auto: Wiki
Revision as of 11:24, 24 December 2022 by Thisdp (talk | contribs) (Created page with "{{Client function}} __NOTOC__ This function gets the delay time that from mouse stops moving and cursor stays at a DGS element to onDgsMouseStay event triggers. ==Syntax== <syntaxhighlight lang="lua"> int dgsGetMouseStayDelay( ) </syntaxhighlight> ===Returns=== Returns a ''integer'' indicates the delay of staying of mouse. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local interval = DGS:dgsGetMouseStayDelay() outputChatBox(interval) </syntaxhighli...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function gets the delay time that from mouse stops moving and cursor stays at a DGS element to onDgsMouseStay event triggers.

Syntax

int dgsGetMouseStayDelay( )

Returns

Returns a integer indicates the delay of staying of mouse.

Example

DGS = exports.dgs
local interval = DGS:dgsGetMouseStayDelay()
outputChatBox(interval)

See Also

General Functions

General Events