## FCurveEditor.GetSelectedKeys2

### Introduced

v6.0

### Description

Returns a collection of the FCurveKey objects that have been selected in the fcurve editor for a particular FCurve object.
Note: This is the Python-compliant version of the FCurveEditor.SelectedKeys. Since Python does not support input parameters on properties, FCurveEditor.SelectedKeys will fail in Python.

### C# Syntax

    FCurveKeyCollection FCurveEditor.GetSelectedKeys2( FCurve in_pCurve );

### Scripting Syntax

    oReturn = FCurveEditor.GetSelectedKeys2( [Curve] );

### Return Value

FCurveKeyCollection

### Parameters

Parameter | Type | Description
--- | --- | ---
Curve | FCurve | Function curve with selected keys.

### See Also

FCurve.Keys FCurveKey FCurveEditor.SelectedKeys