can someone tell me how can I do this https://silver-streak.itch.io/gd5-metroid-camera
There is an action to limit the camera.
You can use that.
Or, is this not what you want? If not, then what do you want?
The project files are available for download at the bottom of the page and load for use in GDevelop. They are fully commented so you can recreate it by following the info listed.