---
title: "Discussion on \"Preventing clicks from going through UI elements in Unity\" | Hashnode"
description: "Discussion on \"Preventing clicks from going through UI elements in Unity\". In 20 lines of code 🌟"
url: "https://hashnode.com/posts/preventing-clicks-from-going-through-ui-elements-in-unity/6605fd4d627e1bee04fcfc3d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Preventing clicks from going through UI elements in Unity](https://blog.blockost.com/preventing-clicks-from-going-through-ui-elements-in-unity?utm_source=hashnode&utm_medium=feed)

In 20 lines of code 🌟

Mar 28, 2024 · 5 min read · blog.blockost.com  
Updated Jun 15, 2024  
Read the article

-   [#unity](https://hashnode.com/tag/unity)
-   [#unity-engine](https://hashnode.com/tag/unity-engine)
-   [#game-development](https://hashnode.com/tag/game-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Simon Espigolé](https://hashnode.com/@Blockost)

@Blockost · Montreal, QC, Canada

  
[View profile](https://hashnode.com/@Blockost)

Software engineer / wannabe game developer

Software Engineer. Favorite topics: Software Architecture Creative AI Game development

## Responses

Markdown supported · ⌘↵ to post

[zgd](https://hashnode.com/@zhaoguodong)

[Jan 7, 2025](https://hashnode.com/posts/preventing-clicks-from-going-through-ui-elements-in-unity/6605fd4d627e1bee04fcfc3d/comment/677cc1dc4f804e2a62180223)

Who has the source code of a large multiplayer online mobile game that was completed within the last 5 years? This game must possess a carefully designed commercialization numerical system. I am willing to pay a high fee to purchase it for learning and research purposes. email:q791864008q@gmail.com. If the game meets our expectations, we are willing to pay an additional recognition fee in advance.
