# File lib/extras/as_menu.rb, line 21 def get_button_under @buttons.find do|button| dx = $mx - button.x dy = $my - button.y 0 <= dx and dx < button.w and 0 <= dy and dy < button.h end end