Screen get dragged with object (both having draggable behaviour)

Hey, I’m replying to your original post here:

In case you are using the drag camera with mouse example included with GDevelop, you can do the following:

  1. Add each draggable object to an Object group
  2. In DragCamera events, as the very first condition under Move camera add a NOT operator.
  3. Inside the NOT operator add the condition “Group” is being dragged condition, replace “Group” with the name of the group containing the draggable objects

In this case I have added each draggable object to an Object group called “Draggable” and this is how the event looks like:

Notice the very first condition at the top. This is all you have to add.
Hope it helps :+1:

1 Like