Q
quirkylemon103
Guest
so i'm trying to set up my GUI and what i want to do is if the mouse is over game start then there will be a border around it so you know that what you have selected
but when ever you start the game it just flashes a bunch. here is the code it is in a step event of the object for the start button
i'v also tried
also should i make one object for gui or just make a new one for every new button?
thanks for the help
but when ever you start the game it just flashes a bunch. here is the code it is in a step event of the object for the start button
GML:
if(position_meeting(mouse_x, mouse_y, spr_gui_game_start))
{
object_set_sprite(1, obj_gui_game_start)
}
else
{
object_set_sprite(0, obj_gui_game_start)
}
Code:
if(position_meeting(mouse_x, mouse_y, obj_gui_game_start))
{
object_set_sprite(1, obj_gui_game_start)
}
else
{
object_set_sprite(0, obj_gui_game_start)
}
thanks for the help