OnText3DChangeDimension

From Onset Developer Wiki
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