# Set Counter Overlay

### **Parameters**

* **Enabled**: Enable, disable, or toggle the Counter Overlay.
* **Mode**: Countdown or Countup
* **Hide When Elapsed**: Enable, disable, or toggle.
* **Hour**: The hours value of the Counter Overlay start time from 0-23.
* **Minute**: The minutes value of the Counter Overlay start time from 0-59.
* **Second**: The seconds value of the Counter Overlay start time from 0-59.
* **Position X**: The X position of the Counter Overlay from -16.0 to 16.0.
* **Position Y**: The Y position of the Counter Overlay from -9.0 to 9.0.
* **Size**: The size of the Counter Overlay from 0-100.
* **Opacity**: The opacity of the Counter Overlay from 0-100.
* **Use Animation**: Toggle if you want to animate the position, size, and opacity values of the Counter Overlay over time.
  * **Duration**: Specify a duration in milliseconds. Default is 1000, or 1 second.
  * **Animation Style**: Select an animation style to use.

### **Returns**

[Details of the Counter Overlay](https://docs.mixeffect.app/automate/shortcuts/actions/get-counter-overlay).
