Skip to content

Inspector

The Inspector on the right side of the window shows the properties of the selected object.

Inspector

ControlWhat it does
< / >Steps back and forward through the recently selected objects, without touching the scene.
DetachFloats the panel in its own window; click the button again or close the window to dock it back.

With nothing selected the Inspector shows no content. Select an object in the Hierarchy or click one in the Scene to show its properties.

RowMeaning
VisibilityShows or hides the object. Hidden objects are not drawn and cannot be clicked.
Pivotthe centre of an object’s scaling and rotation; it defaults to the centre.
NameThe name shown in the Hierarchy.
PosX / Y position, relative to the parent object.
SizeWidth and height in pixels.
ScaleStretches the object without changing its size values.
AngleRotation angle.
ColorFill colour with an alpha channel — click the swatch to pick a colour and its transparency.

Object types add extra rows of their own:

ObjectExtra rows
RectThe four corner radii.
PolygonThe polygon vertices.
LineStart point, end point, thickness.
TextText content, font size, font path, bold, italic, underline, strikethrough, horizontal / vertical alignment.
ImageImage path — click the browse button to choose an image, or drop an image file onto the row.
Button / Text Input / Progress Bar / Slidercaption, placeholder, progress, value, range, slider handle size, and so on.
Particle Emitter / Frame Sequence / Tile Mapparticle parameters, frame folder and frame rate, tileset and grid size.

Attach a behaviour script to the object: click the browse button in the Script Path row and choose a .py file of the project; dropping the file onto the row works the same way. The × button removes the script again.

Every object except the Canvas root has an Enable Collision property:

RowMeaning
Enable CollisionWhether collision detection is on for this object.
Collision ShapeBounding box, rect, ellipse, polygon.
Collision Offset / Collision SizeOffset and size of the collision shape.
Collision PointsThe vertices of a polygon collision shape.

The collision shape is previewed with a green outline in the Scene window, and scripts can react to collisions with on_collision_enter(other) and on_collision_exit(other).

Enable Collision

Every object except the Canvas root can also have an Enable Physics property. Once the Enable Physics checkbox is ticked, the object is simulated while the game runs.

RowMeaning
Enable PhysicsTurns the object into a rigid body.
Body TypeDynamic (falls, can be pushed), static (never moves, pushes other bodies), kinematic (moved by a script, carries objects that stand on it).
Rigid Body ShapeBounding box, rect, ellipse, polygon.
Shape Offset / Shape SizeOffset and size of the body shape.
Shape PointsThe vertices of a polygon body shape.
MassThe heavier, the harder to push (dynamic bodies only).
Fixed RotationKeeps the body upright so that a character does not fall over (dynamic bodies only).
Friction0 is like ice, 1 is very sticky.
Elasticity0 stops dead on landing, 1 bounces back fully.
Gravity Scale0 floats, 1 is normal gravity, a negative value rises upwards.
Linear Damping / Angular DampingHow quickly movement and rotation slow down.

While physics is on, the body shape of the selected object is outlined with purple dashes in the Scene window.

Enable Physics