if Mouse.press?(Mouse::LEFT)
mouse_x, mouse_y = Mouse.get_mouse_pos
if @sprite['button'].x<mouse_x and @sprite['button'].y<mouse_y and @sprite['button'].x+@sprite['button'].bitmap.width>mouse_x and @sprite['button'].y+@sprite['button'].bitmap.height>mouse_y
#do something
end
end
Um sorry if on your following thread I was just want you to get it do e what I actully meant was I wanted the other to stop arguing about what you where Doing oka