• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code Problem about the view_current in Draw and Draw_GUI

I set this code in both Draw_Event and Draw_Gui_Event.

var _view_current = view_current;

And In the Room Setting, Enable Viewports and Viewport 0 's visible is on.

However, the show message in Draw_Event is 0 (what i think it should be), and the show message in Draw_Gui_Event is 7(what i don't think it should be).

Is it a bug ? Or i do something mistake about the view_current (just like the view_current is always 7 in Draw_Gui_Event)?


Friendly Tyrant
Forum Staff
The GUI layer doesn't have a camera assigned to it. It's completely separate and is not affected by the camera view at all. So checking the view camera for the GUI layer is meaningless...