1 | if live_call() |
2 | return global.live_result; |
3 | var cam_x = camera_get_view_x(view_camera[0]) |
4 | var cam_max = 1660 |
5 | var cam_percentage = cam_x / cam_max |
6 | layer_x(fg_layer_id, (cam_percentage * -1660)) |
7 | depth = -239 |