How to "hide" an image

BlitzMax Forums/BlitzMax Beginners Area/How to "hide" an image

Create a sprite object which has your usual fields (xpos, ypos, xscale, yscale, colour etc) but also a 'ishidden' field. Set ishidden=true and, when you loop through your objects don't draw those with 'ishidden=true'.