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

3.12 setBorder

D2Editor:setBorder(thickness)

Sets the editor’s border thickness. The thickness value must be between 0 and 10. Returns the text editor object.

Introduced in platform.apiLevel = '2.0'