# ScreenCapture with Robot Class (code not working)

**URL:** <https://discourse.processing.org/t/screencapture-with-robot-class-code-not-working/30551>\
**Category:** Coding Questions\
**Created:** [June 7, 2021, 9:08am UTC](https://discourse.processing.org/t/screencapture-with-robot-class-code-not-working/30551 "2021-06-07T09:08:14Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![MoonAlien822](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Post date:** [June 7, 2021, 5:20pm UTC](https://discourse.processing.org/t/screencapture-with-robot-class-code-not-working/30551/7 "2021-06-07T17:20:39Z")

</div>

thank you for your help. sadly it doesnt work because on different distances it has a different colour value and wont recognise it. but thanks anyway

---

_[View the full topic](https://discourse.processing.org/t/screencapture-with-robot-class-code-not-working/30551)._
