# How do I use mousePressed/mouseClicked for this part? (image order game)

**URL:** https://discourse.processing.org/t/how-do-i-use-mousepressed-mouseclicked-for-this-part-image-order-game/28190
**Category:** Coding Questions
**Created:** [March 2, 2021, 5:14pm UTC](https://discourse.processing.org/t/how-do-i-use-mousepressed-mouseclicked-for-this-part-image-order-game/28190 "2021-03-02T17:14:40Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [March 2, 2021, 5:43pm UTC](https://discourse.processing.org/t/how-do-i-use-mousepressed-mouseclicked-for-this-part-image-order-game/28190/2 "2021-03-02T17:43:21Z")

</div>

as I described use mousePressed, detect where the mouse has been pressed etc.

see [Can someone help me with this game? (image order) - #5 by Chrisir](https://discourse.processing.org/t/can-someone-help-me-with-this-game-image-order/28147/5)

---

_[View the full topic](https://discourse.processing.org/t/how-do-i-use-mousepressed-mouseclicked-for-this-part-image-order-game/28190)._
