hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

function-call

Calls a named function with parameters and optional delay.
Parameter
Type
Description
name
string
Name of the function to call
params
attributes
Element containing function parameters
delay
number
Optional delay in seconds before execution
commands
commands
Commands to execute within the function
return
T
Return value from the function, or null if the function returns void