You are here: Reference Guide > Particles Nodes > ParticleExpression

ParticleExpression

With ParticleExpression, you can adjust your particles by setting expressions on their attributes. Using expressions gives you a vast variety of ways of adjusting the way your particles behave. You can use a similar expression syntax as you would elsewhere in Nuke, with the exception that some functions which work in normal Nuke expressions aren't available in particle expressions and vice versa. The main difference between Nuke’s Expression node and ParticleExpression is that particle expressions can return a 3D vector instead of just a single floating point number. If a particle expression returns a single number N in a field that expects a vector (such as velocity or acceleration) it will be converted into a vector with N for each of its components. For more information about functions you can use with ParticleExpression, see Particle Expression Functions in the Nuke User Guide.