yeah thats along the lines of it, will try that now

and the code above it just me testing, ignore the array bits on the height and width etc
that was something i forgot to remove lol