How to Drag scene screen


#1

Hi Everyone, I hope you all healthy and happy.

Anybody can help Me, how to drag scene on working game space. so that The Camera can move based on ( difference distance between new and old cursor mouse position when the mouse is moved)

(it’s actually like drag the the Gdevelop workspace, whether we can drag the space by using space key and left key mouse is pressed.).

Tthank you!


#2

You can add a drag behaviour to the project, which, by the sounds of things, sounds like it does exactly what you want. Open the Project Manager popup, expand the Functions/behaviours and click on ‘Search for new extensions’ and search for Drag.


#3

ohh thank you @MrMen, nice info, i’ll try soon.