export enum property in editor

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vonflyhighace2
:warning: Old Version Published before Godot 3 was released.

I know enums are a new thing in Godot, well kind of. Is it possible to export and enum property yet? Or is it just better for now to use the old way of doing pseudo enums.

:bust_in_silhouette: Reply From: Ch.

I found that It will be available in Godot 3.0

:bust_in_silhouette: Reply From: jarlowrey

In 3.0:

enum DROPOFF { linear,square,none }
export(DROPOFF) var dropoff = DROPOFF.linear

In the editor this will appear as a drop down with 3 options.