CPS default off¶
Shows how many times per second you click.
- Identifier
cps- Default
- Off
- HUD element
- Yes. Top left, offset 4, 52.
- Sends anything
- No
What it shows¶
One line of text: 7 CPS with Buttons set to Left, or 7 | 3 CPS (left, then right) with Left | Right. The editor sample is 0 CPS.
The number is the count of button presses during the last 1000 milliseconds, recomputed every frame. It is a rolling count, not an average over a longer time, so it drops back to 0 one second after you stop clicking.
How clicks are counted¶
Forge posts a mouse event once for every physical button event the game's own input loop receives. The module counts the button-down events for the left and right buttons, and only while no screen is open, so clicks in inventories and menus are not counted. Up to 128 presses per button are remembered.
Settings¶
| Setting | Identifier | Type | Range or options | Default | Description |
|---|---|---|---|---|---|
| Buttons | buttons |
Choice | Left · Left | Right | Left | Which mouse buttons to show. |
| Background | background |
On or off | On | Draw a translucent box behind the element. | |
| Text shadow | shadow |
On or off | On | Draw text with the vanilla drop shadow. | |
| Text color | color |
Colour | AARRGGBB |
#FFFFFFFF |
Color of the element's text. |
The last three are the settings every HUD module has. Position and scale are set in the HUD editor.
What it reads¶
Forge's mouse event for your own physical left and right button presses while no screen is open.
What it writes¶
Nothing. The module only draws.
Multiplayer¶
Display only. Counts your own physical mouse presses as the game receives them; it never clicks, repeats or times anything for you.
The module observes the event and never cancels it. There is no code in Xol that generates, repeats, delays or modifies a click.
See the module review table for every module side by side.