Skip to content

Commit e8a19b6

Browse files
authored
Rename uniform for block selection position
Renamed incorrect uniform from 'currentSelectedBlockId' to 'currentSelectedBlockPos'
1 parent 10fbfc5 commit e8a19b6

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)