DgsGetMouseStayDelay: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 11:24, 24 December 2022

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