V
vincenttnecniv
Guest
Hello GM community! I've watched a ton of tutorials on how to do something similar to what I want, but nothing really gets it just right. Basically I want to mouse over my object in the room, and have an outline sprite appear animated around my object. My code so far is
if position_meeting(mouse_x, mouse_y, obj_test) {
draw_sprite(spr_selected, image_index, mouse_x, mouse_y);
}
obj_test is my object, and spr_selected is my sprite. Right now it does nothing when i mouse over them. Idk what im doing wrong. This is all written in a step event in the object.
if position_meeting(mouse_x, mouse_y, obj_test) {
draw_sprite(spr_selected, image_index, mouse_x, mouse_y);
}
obj_test is my object, and spr_selected is my sprite. Right now it does nothing when i mouse over them. Idk what im doing wrong. This is all written in a step event in the object.