# Trying to fix sprite picking when covering mesh

**URL:** <https://forum.babylonjs.com/t/trying-to-fix-sprite-picking-when-covering-mesh/44505>\
**Category:** Bugs\
**Tags:** sprite, pointerevents, picking\
**Created:** [September 27, 2023, 8:09am UTC](https://forum.babylonjs.com/t/trying-to-fix-sprite-picking-when-covering-mesh/44505 "2023-09-27T08:09:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [September 27, 2023, 8:58am UTC](https://forum.babylonjs.com/t/trying-to-fix-sprite-picking-when-covering-mesh/44505/2 "2023-09-27T08:58:20Z")

</div>

Your change in the `InputManager` class would be a breaking change, so it would not be possible to make it in the official repo…

This post gives a workaround for it:

> [@Can Sprites not be picked when it is obscured by the mesh?](https://forum.babylonjs.com/t/can-sprites-not-be-picked-when-it-is-obscured-by-the-mesh/43355):
>
> Can you please tell me how to make sprites unpickable when they are obscured by the mesh? [20230816\_17255320238161727281] [Sprites Examples | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#YCY2IL#1795)

---

_[View the full topic](https://forum.babylonjs.com/t/trying-to-fix-sprite-picking-when-covering-mesh/44505)._
