OnText3DChangeDimension

From Onset Developer Wiki
Revision as of 10:04, 19 September 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Event|Server|1.2.2}} {{FuncDescription|Event called when a text3d instance changes dimensions from SetText3DDimension.}} {{FuncSyntax|OnText3DChangeDimension(text...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OnText3DChangeDimension

Type: Event
Context: Server
Introduced: v1.2.2

Description

Event called when a text3d instance changes dimensions from SetText3DDimension.

Syntax

OnText3DChangeDimension(text3d, old_dimension, new_dimension)

Parameters

  • text3d
    The text3d which changed dimension.
  • old_dimension
    The old dimension.
  • new_dimension
    The new dimension.

Example

AddEvent("OnText3DChangeDimension", function(text3d, old_dimension, new_dimension)
	print("Text3D "..text3d.." changed dimensions")
end)

See also