Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: FxObj
Wraps FXGL's AnimationBuilder.ScaleAnimationBuilder, the subbuilder returned by AnimationBuilder.scale(entities). Use from / to to set the scale endpoints (as 2D points) and origin to set the scale pivot, then build or buildAndPlay.
ScaleAnimationBuilder ()
Empty default constructor; populated by adopt.
adopt (object Ajo)
Wraps an existing ScaleAnimationBuilder AussomJavaObject.
Ajo is an AussomJavaObject around the FXGL subbuilder.A new wrapper.from (double X, double Y)
Sets the start scale (X, Y).
X is the start X scale.Y is the start Y scale.this objectto (double X, double Y)
Sets the end scale (X, Y).
X is the end X scale.Y is the end Y scale.this objectorigin (double X, double Y)
Sets the scale pivot.
X is the pivot X.Y is the pivot Y.this objectbuild ()
Builds the Animation without playing it.
An Animation wrapper.buildAndPlay ()
Builds the Animation and starts it in the scene this builder was created with.
this objectbuildAndPlayIn (object SceneObj)
Builds the Animation and starts it in the supplied scene.
SceneObj is a Scene wrapper.this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.