#2238·gb-studio

Camera Move to Lock on Player will not stayed on locked on to player if near edge of scene

Author: RadnuggetCreated Sep 15, 2026Updated Sep 15, 2026
Labelsbug

Describe the bug If you use the Camera Move to Lock on Player near the edge of a scene where any part of the camera would be out of bounds if player was in center causes the lock on to fail and the camera stops functioning

To Reproduce Steps to reproduce the behavior:

  1. make a scene
  2. play a trigger near edge of scene that does the lock on event
  3. trigger event
  4. camera stops following player

Expected behavior Lock on should not try to go past bounds of the scene and act like the camera move (which will just stop moving left) or like the normal platformer camera where it just also stops at 0

Screenshots

https://github.com/user-attachments/assets/7144ffba-618e-4c85-bc28-5c5d7c2b00f4 (sorry for flickering)

Platform (please complete the following information):

  • OS: Linux Mint 22.3
  • App version 4.3.2