Inputs.MousePixelPos¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of this shard is ignored. | None |
||
Output ➡️ |
Outputs the pixel position of the cursor represented as a vector with 2 int elements. | Int2 |
This shard outputs the current pixel position of the cursor within the input region, represented as an int2 vector. The first element represents the x position of the cursor, and the second element represents the y position of the cursor. The coordinates are in pixel space, with (0,0) being the top-left corner of the input region and (input-region-pixel-width, input-region-pixel-height) being the bottom-right corner.