๐ง๐ท Portuguese speakers: Check out README.pt-BR.md for the Portuguese version.
Token Stack Selector is a modern module for Foundry VTT that solves the problem of stacked (overlapping) tokens. When multiple tokens occupy the same position on the grid, this module adds an elegant and intuitive interface to easily select the desired token.
- Premium Design: Interface similar to Foundry's native condition panel
- Unique Icon: Visual combination of user group + crosshairs for quick identification
- Smooth Animations: Elegant transitions and visual feedback
- Visual Counter: Badge showing how many tokens are stacked
- Hover Preview: Shows stacked tokens when hovering over them (800ms delay)
- Smart Selection: Selected token automatically comes to front
- Detailed Information: Shows name, actor type and HP when available
- Smart Positioning: Panel automatically adjusts to not go off screen
- Multiple Ways to Close: Click outside, ESC or automatic selection
- Correct Drag & Drop: Selected token can be moved immediately
- Visual Feedback: Notifications confirming actions
- Automatic Restoration: Z-index returns to normal after deselection
- Custom Scrollbar: Design consistent with Foundry theme
- Open Foundry VTT
- Go to Setup โ Add-on Modules
- Click Install Module
- Paste this manifest:
https://github.com/Sub-Dev/token-stack-selector/releases/latest/download/module.json - Click Install
- Download the ZIP file from the latest release
- Extract to your Foundry VTT
Data/modules/folder - Restart Foundry VTT
- Enable the module in the desired world
- Hover Preview: Simply hover your mouse over stacked tokens to see a preview of all tokens (appears after 800ms)
- Stacked Tokens: When two or more tokens occupy the same position, the button automatically appears in the Token HUD
- Open Selector: Click the button with crosshairs + user group icon
- Choose Token: Click the desired token in the panel that appears
- Interact: The selected token automatically comes to front and can be moved normally
Complete workflow: hover preview โ HUD button โ selection panel โ token selection
Modern preview showing stacked tokens when hovering (800ms delay)
Elegant selection interface with token details and smart positioning
Complete interface showing all module features in action
- Foundry VTT: v11 - v13
- Systems: Compatible with all systems
- Modules: No known conflicts
- โ Modern interface with premium design
- โ Smart selection of stacked tokens
- โ Automatic z-index system
- โ Animations and visual feedback
- โ Support for multiple interaction methods
This module uses a modular architecture for better maintainability and scalability:
src/
โโโ components/ # UI components
โ โโโ token-hooks-manager.js
โ โโโ token-selection-panel.js
โ โโโ token-stack-button.js
โโโ utils/ # Utilities and helpers
โ โโโ token-detector.js
โ โโโ token-layer-manager.js
โโโ styles/ # CSS styles
โ โโโ token-stack-styles.js
โโโ token-stack-selector.js # Main orchestrator
Open browser console and use:
TokenStackSelector.debug(); // Debug information
TokenStackSelector.getStats(); // Module statistics
TokenStackSelector.reload(); // Reload module
TokenStackSelector.shutdown(); // Shutdown moduleContributions are welcome! Please:
- Fork the project
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
Help improve the documentation by adding screenshots:
- Check screenshots/README.md for needed images
- Take high-quality screenshots showing the module in action
- Follow the naming conventions specified
- Submit via Pull Request with descriptive commit messages
Found a problem? Open an issue with:
- Foundry VTT version
- Module version
- Steps to reproduce the bug
- Screenshots (if applicable)
Distributed under the MIT License. See LICENSE for more information.
- Foundry VTT Brazil Community
- Foundry VTT Developers
- All users who tested and provided feedback
Developed with โค๏ธ for the Foundry VTT community



