GML Visual Draw Event That Only Draws Once?

I am using GMS2 with dnd and was wondering if there was a way to make a draw event only draw what's asked of it one frame and then hold the drawing until it is destroyed? Pretty much I don't want it updating the drawing every frame.

Is this possible?

Thanks! :)
 

TheouAegis

Member
Well you can draw to a surface in an alarm event, but that's not encouraged due to how GM tries to handle drawing. You can toggle a variable in the alarm and then in the Begin Draw event draw to the surface.
 
Well you can draw to a surface in an alarm event, but that's not encouraged due to how GM tries to handle drawing. You can toggle a variable in the alarm and then in the Begin Draw event draw to the surface.
I am pretty new at all this, working on my first project. What do you mean draw to a surface?
 
Top