Behaviors

In GDevelop, behaviors add features to objects. For example, the Platformer character behavior makes an object behave as a playable character in a platforming game. This lets the player control the object with their keyboard and makes the object affected by gravity.

Behaviors add significant features to a game in a matter of clicks. 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.