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

3.21 setSelectable

D2Editor:setSelectable(boolean)

Makes the text editor content selectable (true) or unselectable (false) by the user. If a Boolean value is not specified, defaults to true.

Returns the text editor object.

Introduced in platform.apiLevel = '1.0'