Txt set

From Sim Innovations Wiki
Jump to navigation Jump to search


txt_set(txt_id, text)

txt_set is used change the text on a txt_id.

Return value

This function won't return any value.


# Argument Type Description
1 txt_id Number Reference to a txt object
2 txt String This is the txt being shown


-- Load and display text and images
mytext1 = txt_add("hello world", "", 0, 0, 800, 200)

-- rename text
txt_set(mytext1, "goodbye world")