Update showTextLength.js
This commit is contained in:
parent
2acf0b5505
commit
d1118f8230
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
// Checkout the repo examples to get an idea of other ways you can use scripting
|
||||
// https://github.com/latitudegames/Scripting/blob/master/examples
|
||||
|
||||
|
||||
// OUTPUT MODIFIER
|
||||
const modifier = (text) => {
|
||||
|
||||
state.displayStats = [{key:'Text Length', value: text.length, color: 'red'}]
|
||||
|
|
Reference in a new issue