# Get pixel color from TCastleImageControl

**URL:** <https://forum.castle-engine.io/t/get-pixel-color-from-tcastleimagecontrol/1873>\
**Category:** 2D\
**Created:** [April 22, 2025, 12:50pm UTC](https://forum.castle-engine.io/t/get-pixel-color-from-tcastleimagecontrol/1873 "2025-04-22T12:50:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Noscow](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/noscow/32/964_2.png) [@Noscow](https://forum.castle-engine.io/u/Noscow)\
**Post date:** [April 22, 2025, 9:13pm UTC](https://forum.castle-engine.io/t/get-pixel-color-from-tcastleimagecontrol/1873/4 "2025-04-22T21:13:12Z")

</div>

Maybe this theme can help you?

> [@TransformUnderMouse with Alpha pixels check for quad-based Transforms](https://forum.castle-engine.io/t/transformundermouse-with-alpha-pixels-check-for-quad-based-transforms/1494):
>
> Hi, All ! Happy new year! I want to make precise Mouse picking of quad based Transforms - like TCastleImageTransform, or TCastleScene with 2d sprite, in this case TransformUnderMouse performs hit-test over whole quad (geometry) and not taking into account transparent pixels of loaded textures. I found those similar topics : [Convenient way to determine exact point under mouse - #4 by michalis](https://forum.castle-engine.io/t/convenient-way-to-determine-exact-point-under-mouse/791/4) and [Get all geometry under raycast? - #5 by bugan11](https://forum.castle-engine.io/t/get-all-geometry-under-raycast/957/5) where some ideas presented , but no complete solutio…

---

_[View the full topic](https://forum.castle-engine.io/t/get-pixel-color-from-tcastleimagecontrol/1873)._
