V
VansiusProductions
Guest
Hi guys
How to create an instance that align's to a 32x32 grid according to mouse_x and mouse_y using gml?
How to create an instance that align's to a 32x32 grid according to mouse_x and mouse_y using gml?
Doesn't work. I have instances that are going to be selected (called element) that have 0,0 as origin for their sprite and are 70x70 pixels in sizeinstance_create((floor(mouse_x / 32) * 32),(floor(mouse_y / 32) * 32),object_index);