Skip to main content

EffectPropertyDistance

Type

operator

Summary

The distance of an effect.

Syntax

the distance of <mEffect>

Description

The distance of mEffect as a number. Distance applies to inner shadow, and outer shadow effect types

Parameters

NameTypeDescription

mEffect

An expression which evaluates to an effect.

Examples

// Create an effect with distance 5
variable tProps as Array
put the empty array into tProps

put 5 into tProps["distance"]

variable tEffect as Effect
put outer shadow effect with properties tProps into tEffect

// Set the effect distance
set the distance of tEffect to 50
Thank you for your feedback!

Was this page helpful?