Stop a video or timeline.

The position is set to the beginning, and the playback is stopped.

Video Example

<Grid Rows="3*,1*" >
    <Video ux:Name="video" Url="" StretchMode="Uniform" />
    <Grid Columns="1*,1*">
        <Button Text="Start">
                <Resume Target="video" />
        <Button Text="Stop">
                <Stop Target="video" />

Timeline Example

    <Rectangle Width="150" Height="150" Margin="60" ux:Name="rect" CornerRadius="10" >
        <Stroke ux:Name="rectStroke" Offset="10" Width="3" Color="#3579e6" />

        <Timeline  ux:Name="timeline" TimeMultiplier="0.4">
                <Keyframe DegreesZ="360" Time="1" />
            <Change Target="rect.Color">
                <Keyframe Value="#3579e6" Time="1" />

    <Slider Width="250" ux:Name="targetProgress" Value="0.5" Minimum="0" Maximum="1" />
    <Button Text="Animate to" Alignment="Bottom">
            <PlayTo Target="timeline" Progress="{ReadProperty targetProgress.Value}" />

    <Button ux:Name="resume" Text="Resume" Alignment="Bottom">
            <Resume Target="timeline" />

    <Button Text="Pause" Alignment="Bottom">
            <Pause Target="timeline" />

    <Button Text="Stop" Alignment="Bottom">
            <Stop Target="timeline" />


Fuse.Triggers 1.11.2

Interface of Stop

Inherited from PlaybackAction

Inherited from TriggerAction

AtProgress : float ux

A value between 0 and 1 for when the action should be performed. Alternative to Delay.

Delay : float ux

The number of seconds after the start of the trigger that the action should be performed.

TargetNode : Node ux

The node that the action targets. If not specified then the enclsoing Trigger will be used. Several triggers can look for a target starting from this point. Some triggers require a Target to be specified.

Unroot uno

Called when the owner of this object is unrooted. This gives an action to cleanup resources or cancel pending actions.

Inherited from PropertyObject

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces