Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 525 Bytes

File metadata and controls

23 lines (17 loc) · 525 Bytes
metaLinks
alternates

Init Function Syntax

If defined, init function is called right after the script is loaded from SD card and begins execution. Init is called only once before the run function is called for the first time.

local function <init_function_name>()
  -- code here runs only once when the model is loaded
end
  • Input Parameters:

    none

  • Return values:

    none