# How to detect mouse-down in web container

**URL:** <https://forum.xojo.com/t/how-to-detect-mouse-down-in-web-container/75149>\
**Category:** Web\
**Created:** [March 31, 2023, 1:41pm UTC](https://forum.xojo.com/t/how-to-detect-mouse-down-in-web-container/75149 "2023-03-31T13:41:07Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Ricardo\_Cruz](https://forum.xojo.com/user_avatar/forum.xojo.com/ricardo_cruz/32/7852_2.png) [@Ricardo\_Cruz](https://forum.xojo.com/u/Ricardo_Cruz)\
**Post date:** [April 2, 2023, 11:37am UTC](https://forum.xojo.com/t/how-to-detect-mouse-down-in-web-container/75149/12 "2023-04-02T11:37:09Z")

</div>

WebCanvas should be enough, but I’ve just made a simple Web SDK control you can put on top of the others. It has a Pressed event you can use.

> **[GitHub - piradoiv/clickable-surface: Xojo ClickableSurface Web Control](https://github.com/piradoiv/clickable-surface)**
>
> Xojo ClickableSurface Web Control. Contribute to piradoiv/clickable-surface development by creating an account on GitHub.

---

_[View the full topic](https://forum.xojo.com/t/how-to-detect-mouse-down-in-web-container/75149)._
