Update showTextLength.js

This commit is contained in:
Matt Brockman 2021-01-14 17:51:08 -08:00 committed by GitHub
parent 2acf0b5505
commit d1118f8230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'}]