Skip to content

Commit cf6dc88

Browse files
authored
Merge pull request #372 from SpacEagle17/patch-2
Rename uniform for block selection position
2 parents 10fbfc5 + e8a19b6 commit cf6dc88

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/current/Reference/Uniforms

1 file changed

+1
-1
lines changed

src/content/docs/current/Reference/Uniforms/id.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This uniform stores the ID (from [`block.properties`](/current/reference/miscell
5454

5555
## currentSelectedBlockPos <Badge text="Iris Exclusive" variant="tip" size="medium" />
5656
```glsl
57-
uniform vec3 currentSelectedBlockId;
57+
uniform vec3 currentSelectedBlockPos;
5858
```
5959
This uniform stores the player space position of the center of the block selected by the player (with the block outline). If no block is selected, the values of all components will be `-256.0`.
6060

0 commit comments

Comments
 (0)