# 'Toggle' does not have a property called 'Target'

**URL:** <https://forums.fusetools.com/t/toggle-does-not-have-a-property-called-target/7339>\
**Category:** How-to Discussions\
**Created:** [August 15, 2018, 2:19pm UTC](https://forums.fusetools.com/t/toggle-does-not-have-a-property-called-target/7339 "2018-08-15T14:19:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuel\_Rizzon](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/samuel_rizzon/32/759_2.png) [@Samuel\_Rizzon](https://forums.fusetools.com/u/Samuel_Rizzon)\
**Post date:** [August 15, 2018, 2:19pm UTC](https://forums.fusetools.com/t/toggle-does-not-have-a-property-called-target/7339/1 "2018-08-15T14:19:30Z")

</div>

I’m trying to change the ‘WhileTrue’ of a Rectangle, and I’ve always used the Toggle, but now always the error saying that Target does not exist.

Why is this happening?

```
<StackPanel ux:Class="FeedbackCard" ItemSpacing="10">
	<Rectangle Width="80" Height="80" Color="#fff" CornerRadius="10">
		<Shadow Size="5" />
		<Image ux:Name="img" Width="50" Color="#00000020" File="{item.image}" />
		<Clicked>
			<Scale Target="img" Factor=".8" Duration=".3" Easing="CubicInOut" />
			<Toggle Target="CardChange" />
		</Clicked>

		<WhileTrue ux:Name="CardChange">
			<Change img.Color="{item.color}" Duration=".3" />
		</WhileTrue>
	</Rectangle>
	<Text Alignment="Center" Value="{item.name}"> </Text>
</StackPanel>
```
