# Get/Set "Sample:" value for Clone Stamp tool

**URL:** <https://forums.creativeclouddeveloper.com/t/get-set-sample-value-for-clone-stamp-tool/3115>\
**Category:** Photoshop\
**Created:** [June 17, 2021, 6:41pm UTC](https://forums.creativeclouddeveloper.com/t/get-set-sample-value-for-clone-stamp-tool/3115 "2021-06-17T18:41:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnthonyK](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@AnthonyK](https://forums.creativeclouddeveloper.com/u/AnthonyK)\
**Post date:** [June 17, 2021, 6:41pm UTC](https://forums.creativeclouddeveloper.com/t/get-set-sample-value-for-clone-stamp-tool/3115/1 "2021-06-17T18:41:04Z")

</div>

I’m trying to set the “Sample” value in the Clone Stamp tool options bar to “Current Layer” but am NOT finding a value for this listed where I’d expect it in Alchemist, i.e. Application \> CurrentToolOptions. Anyone know where it might be hiding?

---

<div class="post-metadata">

**Author:** ![Jens\_z](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@Jens\_z](https://forums.creativeclouddeveloper.com/u/Jens_z)\
**Post date:** [July 16, 2021, 3:03pm UTC](https://forums.creativeclouddeveloper.com/t/get-set-sample-value-for-clone-stamp-tool/3115/2 "2021-07-16T15:03:37Z")

</div>

Hi Anthony,  
I think if you set the “CurrentToolOptions”-parameters **StmB, StmI & StmS** to **false** , it will use the current layer as sample.  
(StmA is the “Aligned” checkbox state)

Best regards  
Jens

---

<div class="post-metadata">

**Author:** ![AnthonyK](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@AnthonyK](https://forums.creativeclouddeveloper.com/u/AnthonyK)\
**Post date:** [July 16, 2021, 3:32pm UTC](https://forums.creativeclouddeveloper.com/t/get-set-sample-value-for-clone-stamp-tool/3115/3 "2021-07-16T15:32:44Z")

</div>

Thanks, @Jens_z. I think I saw this mentioned in another thread also. Took a bit to figure out the different combinations, but I came up with the same parameters.
