print 4

Display a message on the screen


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1stringMessage to display
2float(Optional) Duration of the message

Examples

print("Here's some text to show to the player!")

Back to Scripting API