Module object.script

Properties of the script object most of these properties are optional !

script is an object for implementing your own object within code it allows you to run code in any part of the update process you want

Tables

properties script OBJECT PROPERTIES


Tables

properties
script OBJECT PROPERTIES

Fields:

  • code [function] a function that gets called on update. the function gets passed the object as an argument + the event
  • graphic [function] a function that gets run on draw. the function gets passed the object as an argument
generated by LDoc 1.4.6 Last updated 2022-06-23 16:51:50