How to Get One Vector Component by Index in Blender 5.3 (Get Vector Component Node)
In Blender 5.3, add the Get Vector Component node (press Shift + A, then Utilities › Vector › Get Vector Component in Geometry Nodes). Plug a vector into it and set Index: 0 gives X, 1 gives Y and 2 gives Z. Because the axis is a number, you can switch it from a value or a modifier input instead of rewiring a Separate XYZ node.
- Mode
- Geometry Nodes, Shader and Compositor editors
- Menu
- Utilities › Vector › Get Vector Component
- Shortcut
- Shift + A

Index picks the axis
On a flat 4 m grid, Index 0 read X and lifted the grid into a ramp from -2 m to +2 m along X.
Change the number, not the wires
Index 1 made the ramp follow Y instead; Index 2 read Z, which was 0 on the flat grid.
New in 5.3
Blender 5.2 LTS has no Get Vector Component node; there you use Separate XYZ and pick an output.
Before and after



AI Scene Builder is a Blender add-on. You type what you want, and it builds it in your scene: buildings, neon signs, wet pavement, fog and lights. Nothing in this picture was modeled by hand.
On a phone now? The add-on runs in Blender on a computer. Send yourself the link and open it there.
Step by step (Blender 5.3)
Blender 5.2 LTS vs Blender 5.3
| What | Blender 5.2 LTS | Blender 5.3 |
|---|---|---|
| Get Vector Component node | Not in Blender 5.2 LTS. | In Utilities › Vector in Geometry Nodes, and in Vector in the Shader Editor and Compositor. |
| Choosing the axis | Separate XYZ gives X, Y and Z as three outputs; you choose by wiring one of them. | Get Vector Component takes the axis as an Index number, which can itself come from another node. |
Common snags
Index starts at 0
X is Index 0, not 1. Index 1 is Y and Index 2 is Z.
Index 3 gives 0
A vector has three parts. With Index 3 the node output was 0 everywhere on the test grid.
Flat objects have no Z
Reading Z (Index 2) from a flat plane gives 0 on every point, so nothing moves. Pick X or Y for flat shapes.
An AI add-on for Blender
AI Scene Builder is a Blender add-on that builds and edits your scene from one typed request, such as “a small wooden table with two chairs”. Each request can be undone in one click.
A lighthouse island at sunset built with the add-on from 10 typed requests. See every request →Questions
How do I get the X, Y or Z of a vector by number in Blender?
In Blender 5.3, use the Get Vector Component node and set Index: 0 for X, 1 for Y, 2 for Z. In Geometry Nodes, press Shift + A and open Utilities › Vector.
What is the difference between Get Vector Component and Separate XYZ?
Separate XYZ gives all three values as separate outputs. Get Vector Component gives one value, and the axis is chosen by its Index number, so another node or modifier input can change it.
Is Get Vector Component in Blender 5.2 LTS?
No. The node is new in Blender 5.3. In 5.2 LTS use Separate XYZ.
What the pictures show
- Blender 5.3: before, a flat 4 m grid with 169 vertices had Z = 0 on every vertex.
- Blender 5.3: Position into Get Vector Component with Index 0, then into the Z of Combine XYZ and Set Position Offset, raised the grid into a ramp from -2 m to +2 m along X.
- Blender 5.3: Index 1 made the ramp follow Y, Index 2 and Index 3 gave 0, and setting Index back to 0 restored the X ramp.
- Blender 5.3: the node is in Utilities > Vector in Geometry Nodes and in the Vector menu of the Shader Editor and Compositor.
- Blender 5.2 LTS: the Get Vector Component node does not exist.
