Set.Increment Property
If specified, Set
will increment the target property by the provided amount rather than overwriting it.
Example
The following example consists of a red Rectangle and a button that fades its color a little step towards blue with each click.
<Button Text="Make background more blue">
<Clicked>
<Set Target="background.Color" Increment="-0.2, 0, 0.2, 0" />
</Clicked>
</Button>
<Rectangle ux:Name="background" Color="1, 0, 0, 1" />
Location
- Namespace
- Fuse.Triggers.Actions
- Package
- Fuse.Triggers 2.9.1
Returns
T