Skip to content

currentSelectedBlockPos

uniform vec3 currentSelectedBlockId;

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.