# Moved Piece Acting on a Counter

**URL:** <https://forum.vassalengine.org/t/moved-piece-acting-on-a-counter/9174>\
**Category:** Module Design\
**Created:** [December 11, 2017, 2:03pm UTC](https://forum.vassalengine.org/t/moved-piece-acting-on-a-counter/9174 "2017-12-11T14:03:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kerkael](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/8c91f0/32.png) [@kerkael](https://forum.vassalengine.org/u/kerkael)\
**Post date:** [December 11, 2017, 2:03pm UTC](https://forum.vassalengine.org/t/moved-piece-acting-on-a-counter/9174/1 "2017-12-11T14:03:33Z")

</div>

Hi,

In another topic here, I asked how to push an [Action button to move a Piece](http://www.vassalengine.org/forum/viewtopic.php?f=6&t=10145), and it’s working fine.

At the end I will have : A Counter, An Action Button, A Single Piece on the board. In the middle I placed  
Right now, Pushing the Action button calls a GKC that both increases the Counter and sends the Piece order to move up.

I want also that Acting on the Piece on the map to to increase the Counter.

Is it through a GKC I can do this ? because the Counter is not a piece, and I don’t know which value to test to act on it.  
Is it through a Global Command instead ?

Any idea ?

---

<div class="post-metadata">

**Author:** ![kerkael](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/8c91f0/32.png) [@kerkael](https://forum.vassalengine.org/u/kerkael)\
**Post date:** [December 13, 2017, 9:14pm UTC](https://forum.vassalengine.org/t/moved-piece-acting-on-a-counter/9174/2 "2017-12-13T21:14:50Z")

</div>

Answer in here : [url][https://forum.vassalengine.org/t/how-to-call-a-counter-from-a-global-key-command/9179/1](https://forum.vassalengine.org/t/how-to-call-a-counter-from-a-global-key-command/9179/1)]
