---
title: "ExpressionVariable"
description: "API documentation for ExpressionVariable"
url: https://developer.disguise.one/python-api/docs/expressionvariable/
---

# ExpressionVariable

See also: [Expressions Guide](/plugins/guides/expressions)

Base class: _\_BlipValue_

## Properties

#### **defaultFloat** : _float_

The default value of the variable, if it is a float type

_UserName: Default_

#### **defaultString** : _str_

The default value of the variable, if it is a string type

_UserName: Default_

#### **errorText** : _str_

#### **name** : _str_

The name of the variable

_UserName: Name_

#### **type** : _int_

The type of the variable

_Options: {0: ‘Float’, 1: ‘String’, 2: ‘Function’}  
UserName: Type_

## Variables

#### **FloatType** : _Final\[[ExpressionVariableType](/python-api/docs/expressionvariabletype#expressionvariabletype)\]_ = ExpressionVariableType.Float

#### **FunctionType** : _Final\[[ExpressionVariableType](/python-api/docs/expressionvariabletype#expressionvariabletype)\]_ = ExpressionVariableType.Function

#### **StringType** : _Final\[[ExpressionVariableType](/python-api/docs/expressionvariabletype#expressionvariabletype)\]_ = ExpressionVariableType.String

## Constructors

#### **\_\_init\_\_**(self)

Default constructor for ExpressionVariable

#### **\_\_init\_\_**(self, other: _[ExpressionVariable](/python-api/docs/expressionvariable#expressionvariable)_)

Copy constructor for ExpressionVariable

## Methods

#### **makeExpression**(self) -> _str_
