I know that in order to create getter and setter scripts in GameMaker you use scripts and call them but is GameMaker executing getter and setter scripts behind the scenes for variables like 'sprite_width' or are these variables already set before the step event or does it execute a getter every time you read the value?
Would it be more efficient to set sprite_width in a variable like 'sWidth = sprite_width' and refer to 'sWidth' instead every time you know the value is going to change or will this make virtually no difference.
Would it be more efficient to set sprite_width in a variable like 'sWidth = sprite_width' and refer to 'sWidth' instead every time you know the value is going to change or will this make virtually no difference.