Behaviors

In GDevelop, behaviors add significant features to objects in a matter of clicks.

For example, behaviors can:

  • Automatically remove objects from a scene when they move outside the edges of the screen.
  • Make objects move in a realistic way by following the laws of physics.
  • Allow players to move an object with the arrow keys.

You can also customize behaviors to make your game feel unique and use events to manipulate behaviors.

List of behaviors

This section lists the different types of behaviors, each of which is useful for adding different types of features to objects.

Refer to the linked pages to learn more about each type of behavior.

Deprecated behaviors

Adding a behavior to an object

  1. Right-click an object in the Objects panel.
  2. Select Edit object.
  3. Switch to the Behaviors tab.
  4. Click the + icon.
  5. Select a behavior from the list.
  6. Customize the behavior. The available settings depend on the behavior.
  7. Click Apply.

Installing new behaviors

Anyone can create custom behaviors and share them with the GDevelop community.

To search for and install community-created behaviors:

  1. Right click an object in the Objects panel.
  2. Select Edit object.
  3. Switch to the Behaviors tab.
  4. Click the + icon.
  5. Switch to the Search new behaviors tab.
  6. Search for a behavior.
  7. Select a behavior.
  8. Click Install in project.

Installed behaviors appear in the Installed behaviors tab.