Addon SDK script interfaces
The script interfaces in this section of the scripting reference are intended for use with Construct's Addon SDK, which allows developers to create custom plugins and behaviors. These features are not normally used when writing code in Construct projects, so this section of the documentation ought to be disregarded by anyone not using the Addon SDK.
You can learn more about the Addon SDK in the Addon SDK documentation.
Coding conventions
As JavaScript has limited support for encapsulation, some methods which are only intended for use by the Construct runtime can still be accessed from Construct's scripting feature. With JavaScript, properties and methods are public by default, or can use private properties with the #
prefix which can only be used by the same class. Construct needs a middle-ground status where outside callers should not use a property or method, but it must be accessible to Construct's runtime. JavaScript currently has no such language feature, and so such properties and methods have to be public. Instead Construct uses a special naming scheme: properties or methods that begin with an underscore _
should be considered "protected", i.e. they are only for use by the Construct runtime and not should be used by any other caller. Do not use any such properties or methods other than for the purposes for which they are documented.
Construct Animate Manual
Construct.net
2024-05-20
2024-05-20
You are here:
Search this manual:
This manual entry was last updated on 20 May, 2024 at 13:16