draw_self


Description

This function draws the sprite assigned to the instance exactly as it would be drawn if the draw event held no code or actions, and will reflect and changes that have been made to the sprite variables in other events.

NOTE: If the instance has no sprite assigned to it, this function will throw an error!


Syntax:

draw_self();


Returns:

N/A


Example:

draw_self();

This makes the instance draw itself with the properties defined by the in built sprite variables.