-
Random Hexadecimal with 6 characters
Hi I want to generate a random set of characters with the prefix ‘x.’
So for example successive frames it could be
‘x.AC34CD’
‘x.B7A4ED’
‘x.F4300C’
etc.I’m using this expression attached.
Which only gives me 1 character, e.g. ‘x.C’
I do try but my expression language is pretty crappy. Thanks!
S
hex = String.fromCharCode(65 + Math.floor(random(6)));
var myLayerIndex = 3
"x." + hex