Skip to content

Scalable capability Reference

Change the object scale. Read more explanations about it.

Scalable capability

Change the object scale.

Behavior actions

Scale
Change the scale of the object (default scale is 1).

Scale on X axis
Change the scale on X axis of the object (default scale is 1).

Scale on Y axis
Change the scale on Y axis of the object (default scale is 1).

Behavior conditions

Scale
Compare the scale of the object (default scale is 1).

Scale on X axis
Compare the scale on X axis of the object (default scale is 1).

Scale on Y axis
Compare the scale on Y axis of the object (default scale is 1).

Behavior expressions

Expression Description
Object.Scale::Value() Return the scale of the object (default scale is 1).
Object.Scale::X() Return the scale on X axis of the object (default scale is 1).
Object.Scale::Y() Return the scale on Y axis of the object (default scale is 1).

This page is an auto-generated reference page about the Scalable capability feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.