# Getting a piece from the palette

**URL:** <https://forum.vassalengine.org/t/getting-a-piece-from-the-palette/11786>\
**Category:** Module Design\
**Created:** [March 11, 2021, 5:33pm UTC](https://forum.vassalengine.org/t/getting-a-piece-from-the-palette/11786 "2021-03-11T17:33:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Korval](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Korval](https://forum.vassalengine.org/u/Korval)\
**Post date:** [March 11, 2021, 5:33pm UTC](https://forum.vassalengine.org/t/getting-a-piece-from-the-palette/11786/1 "2021-03-11T17:33:48Z")

</div>

Is there a way to automate getting/placing a piece directly from the palette?

I have some logic that needs to track spending resources to grab a marker, but the markers are not unique or fixed in number. Thus, using an at-start stack or similar doesn’t appear appropriate…

I feel like there should be a way to automate the common action of a player dragging a piece from the palette onto a board location, but I’m not seeing it…

Any pointers appreciated!

---

<div class="post-metadata">

**Author:** ![jrwatts](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/jrwatts/32/6972_2.png) [@jrwatts](https://forum.vassalengine.org/u/jrwatts)\
**Post date:** [March 11, 2021, 9:22pm UTC](https://forum.vassalengine.org/t/getting-a-piece-from-the-palette/11786/2 "2021-03-11T21:22:34Z")

</div>

Add a “Place Marker” trait, hit “Select” (instead of “Define Marker”), navigate to your Game Piece Palette and find the piece you want to create, hit OK. Fill out the rest of the fields for Place Marker. Voila!

Alternatively, if you need to add a trait or two to the piece, define the piece using a prototype, and then for Place Marker, use “Define Marker”, and then add that prototype and any new traits you want for the new piece.

---

<div class="post-metadata">

**Author:** ![Korval](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Korval](https://forum.vassalengine.org/u/Korval)\
**Post date:** [March 11, 2021, 10:04pm UTC](https://forum.vassalengine.org/t/getting-a-piece-from-the-palette/11786/3 "2021-03-11T22:04:11Z")

</div>

Thanks JR - I’ll try this over the weekend…
