---
title: "Parameters"
url: "https://help.maxon.net/c4d/en-us/Content/html/GVHAIR_SELECTION-ID_GVPORTS.html"
section_path: "Simulate Menu > The Simulation System > Hair > Hair Nodes > Hair Selection Operator > Input Ports"
element_id: "GVHAIR_SELECTION"
group_id: "ID_GVPORTS"
description: "Connect a (Hair) Selection Tag's Object output port to this port."
---

## Parameters

# Input Ports

### Tag

Parameter ID: `GV_HAIR_SELECTION_INPUT_TAG`

Connect a (Hair) Selection Tag's **Object** output port to this port.

### On

Parameter ID: `GV_HAIR_SELECTION_OPERATOR_ON`

This is a Boolean value that will turn the Node on or off.

# Output Ports

### Iteration

Parameter ID: `GV_HAIR_SELECTION_OUTPUT` · Range: [-2147483648..2147483647]

This output port can, for example, be connected with a Hair Point Node's **Index** input port. Index numbers of guide points, hair points or of guides, will be output.

The setup shown below sets all guide or hair points in the Selection tag to a mass of **0**.

![Image: 005394.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/005394.jpg)

### Count

Parameter ID: `GV_HAIR_SELECTION_OUTPUT_COUNT` · Range: [-2147483648..2147483647]

This port outputs the number of elements selected.
