Thanks.
I tried console.log(this)...
instance.js:127 [Polygon] DrawingInstance: this: DrawingInstance
bounds: {minX: -50, maxX: 50, minY: -50, maxY: 50, width: 100, …}
collisionMode: "0"
moved: (6) [408, 119, 458, 219, 358, 219]
points: (6) [0, -50, 50, 50, -50, 50]
rotatedBounds: {minX: 0, maxX: 0, minY: 0, maxY: 0, width: 0, …}
updateBbox: true
#t: C3.WorldInfo
_x: 408
_y: 169
_w: 100
_h: 100
_ox: 0.5
_oy: 0.5
_boundingBox: C3.Rect {_left: 358, _top: 119, _right: 458, _bottom: 219}
_inst: C3.Instance
runtime: self.IRuntime
[[Prototype]]: self.ISDKWorldInstanceBase
The #t: C3.WorldInfo object exists, but the instance isn’t linked to it via GetWorldInfo().
The plugin executes
plugin.js:1 [Polygon] plugin.js: Loading plugin.js
type.js:1 [Polygon] type.js: Loading type.js
instance.js:1 [Polygon] instance.js: Loading instance.js
conditions.js:1 [Polygon] conditions.js: Loading conditions.js
main.js:1 [Polygon] main.js: Loading main.js
main.js:17 [Polygon] main.js: All plugin scripts imported.
globalThis.SDK is undefined, but globalThis.ISDKPluginBase, globalThis.ISDKObjectTypeBase, and globalThis.ISDKWorldInstanceBase are available.
main.js:4 [Polygon] main.js: SDK namespace: undefined
plugin.js:5 [Polygon] plugin.js: SDK namespace: undefined
plugin.js:6 [Polygon] plugin.js: ISDKPluginBase available: true
type.js:5 [Polygon] type.js: SDK namespace: undefined
type.js:6 [Polygon] type.js: ISDKObjectTypeBase available: true
DrawingInstance lacks the GetWorldInfo() method required for IWorldInstance.
instance.js:126 [Polygon] DrawingInstance: Constructor called
instance.js:127 [Polygon] DrawingInstance: this: DrawingInstance
instance.js:130 [Polygon] DrawingInstance: GetWorldInfo exists: false
instance.js:134 [Polygon] DrawingInstance: this properties: ["runtime", "objectType", "plugin", "effects"]
instance.js:145 [Polygon] DrawingInstance: Could not assign GetWorldInfo, C3.Instance lacks method
instance.js:174 [Polygon] DrawingInstance: WorldInfo after init: undefined
instance.js:176 [Polygon] DrawingInstance: GetWorldInfo missing after init, instance may not be fully registered as IWorldInstance
Overlapping fails
conditions.js:23 [Polygon] IsOverlapping: this.GetWorldInfo() failed, this: DrawingInstance
Ashley any guidance?