You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > 2D Editor Library > createMathBox

3.3 createMathBox

D2Editor:createMathBox()

Inserts a Math Box (Expression Box) in the current cursor position of the editor. Returns the text editor object.

Introduced in platform.apiLevel = '2.0'