     (clicked-on-entity? (q/mouse-x) (q/mouse-y) state)
     state))
 
+(defn update-current-action [state]
+  (let [last-clicked (:last-clicked state)]
+    (if (and (= (count last-clicked) 2) (get actions-map last-clicked))
+      (assoc state :current-status (:text (get actions-map last-clicked)))
+      state)))
+
 (defn update-state [state]
   (-> state
-      (update-last-clicked)))
+      (update-last-clicked)
+      (update-current-action)))
 
 (def load-image  (memoize q/load-image))
 

     :flap {:x 60 :y (- (q/height) 20) :width 50 :height 20 :label "Flap"}}
   :current-status " Hello world 🌅"
   :last-clicked []
   })

(defn point-in-rect? [entity mx my]

(defn setup []
  ; Set frame rate to 30 frames per second.
  (q/frame-rate 30)
  
  
  {:entities
    {:bucket {:x 50 :y 150 :width 20 :height 50}
     :window {:x 10 :y 10 :width 50 :height 50}
