If true, the runtime is running at 60 FPS. If false, the runtime is running at 30 FPS.
The time of a step, measured in milliseconds. null if accessed before the project has started.
This refers to the "Remove raw asset data after loading to save RAM" option in the packager. Thus, this may be false even when the project has been packaged. To detect the packager, detect the precense of scaffolding instead.
Optional
v2Optional
options: { stackClick?: boolean; updateMonitor?: boolean }Optional
target: RenderedTargetOptional
target: RenderedTargetEmit a targetWasCreated event.
Optional
oldTarget: RenderedTargetEmit a targetWasRemoved event.
Optional
target: RenderedTargetFind a sprite's original target (not a clone or stage) using the sprite's name. Returns undefined if the target doesn't exist.
Look up a target by it's drawable ID. Returns undefined if the target doesn't exist.
Look up a target by its ID. Returns undefined if the target doesn't exist.
Returns the target that is the stage. Returns undefined if called before the project has loaded or if the stage has somehow been removed.
Optional
matchFields: Record<string, unknown>Optional
target: RenderedTarget
Interval ID returned by setInterval(). null if accessed before the project has started.