R
RustyWaffles
Guest
Code:
if point_in_rectangle(mouse_x, mouse_y,105, 150, 295, 190){hover_ = true}else{hover_ = false}
draw_set_color(c_blue);
draw_roundrect(105, 150, 295, 190, hover_);
//draw_button(105, 150, 295, 190, true);
draw_set_color(c_white);
draw_set_halign(fa_center)
draw_set_valign(fa_center)
draw_text(200,170, "Skills")
I've played around with trying to fix it like setting them both to work with view_xview[0] and view_yview[0] as kind of a base line but that hasn't worked either.
Not touching
https://i.imgur.com/31htofJ.png
Touching
https://i.imgur.com/tQLkESb.png
All of this is being done in the draw_gui event as well. (wouldn't let me edit post to add this in)
Last edited by a moderator: