Skip to content

Cursor movement conditions

Conditions to check the cursor movement (still or moving).

Authors and contributors to this experimental extension: D8H.


Provides two conditions:

  • The cursor is moving
  • The cursor has stayed still for a given duration

Tip

Learn how to install new extensions by following a step-by-step guide.

Conditions

Cursor is moving
Check if the cursor is moving on the default layer.

See parameters & details

There are no parameters to set for this condition.

Technical note: parameters 0, 1 are internal parameters handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is CursorMovement::CursorIsMoving.

Cursor stays still
Check if the cursor has stayed still for the specified time on the default layer.

See parameters & details
  • Parameter 1 (🔢 Number): Duration (in seconds)

Technical note: parameters 0, 2 are internal parameters handled by GDevelop.

Technical note: this condition internal type (in GDevelop JSON) is CursorMovement::CursorStayStill.


This page is an auto-generated reference page about the Cursor movement conditions extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.