# How to hide counters in a stack so only the top can be seen?

**URL:** <https://forum.vassalengine.org/t/how-to-hide-counters-in-a-stack-so-only-the-top-can-be-seen/458>\
**Category:** Module Design\
**Created:** [March 29, 2008, 2:47pm UTC](https://forum.vassalengine.org/t/how-to-hide-counters-in-a-stack-so-only-the-top-can-be-seen/458 "2008-03-29T14:47:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander331bc](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@Alexander331bc](https://forum.vassalengine.org/u/Alexander331bc)\
**Post date:** [March 29, 2008, 2:47pm UTC](https://forum.vassalengine.org/t/how-to-hide-counters-in-a-stack-so-only-the-top-can-be-seen/458/1 "2008-03-29T14:47:16Z")

</div>

I’m working on a module for a game that has a limited fog of war mechanic. Players are not permitted to inspect each other’s stacks. The trouble is that in VASSAL players can expand a stack by double-clicking on it or by using the Mouse Over Stack feature.

Any ideas on how to implement restrictions on stack inspection?

Thanks!

---

<div class="post-metadata">

**Author:** ![Tim\_M](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/tim_m/32/2_2.png) [@Tim\_M](https://forum.vassalengine.org/u/Tim_M)\
**Post date:** [March 29, 2008, 2:56pm UTC](https://forum.vassalengine.org/t/how-to-hide-counters-in-a-stack-so-only-the-top-can-be-seen/458/2 "2008-03-29T14:56:45Z")

</div>

Mask your pieces. Only the owner will be able to see what they really are.  
If the opponent inspects the stack they are only going to see the non  
revealed side

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

**Author:** ![Alexander331bc](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@Alexander331bc](https://forum.vassalengine.org/u/Alexander331bc)\
**Post date:** [March 29, 2008, 3:06pm UTC](https://forum.vassalengine.org/t/how-to-hide-counters-in-a-stack-so-only-the-top-can-be-seen/458/3 "2008-03-29T15:06:11Z")

</div>

> [@Tim M](#):
>
> Mask your pieces. Only the owner will be able to see what they really are.  
> If the opponent inspects the stack they are only going to see the non  
> revealed side
> 
> Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

Yes this would work, but the top unit in a stack must always be visible–the units on the bottom must be masked. It sounds tedious to have to do this.

---

<div class="post-metadata">

**Author:** ![soft-bug](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/soft-bug/32/6_2.png) [@soft-bug](https://forum.vassalengine.org/u/soft-bug)\
**Post date:** [March 29, 2008, 3:24pm UTC](https://forum.vassalengine.org/t/how-to-hide-counters-in-a-stack-so-only-the-top-can-be-seen/458/4 "2008-03-29T15:24:06Z")

</div>

Me i use a “deck” for my stack and Mouse Over Stack feature with “include top card in deck” activated property …

By such way onlt the top of the draw pile can be seen … i’ve not currently tested on “simple” stacks …

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [March 29, 2008, 3:23pm UTC](https://forum.vassalengine.org/t/how-to-hide-counters-in-a-stack-so-only-the-top-can-be-seen/458/5 "2008-03-29T15:23:49Z")

</div>

Thus spake “Alexander331bc”:

> [@](#):
>
> Tim M wrote:
> 
> > [@](#):
> >
> > Mask your pieces. Only the owner will be able to see what they really are.  
> > If the opponent inspects the stack they are only going to see the non  
> > revealed side
> 
> Yes this would work, but the top unit in a stack must always be visible–the  
> units on the bottom must be masked. It sounds tedious to have to do this.

What you’re asking for is RFE 1637029:

[sourceforge.net/tracker/index.ph … tid=594234](http://sourceforge.net/tracker/index.php?func=detail&aid=1637029&group_id=90612&atid=594234)

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))
