# Change properties of an object afterwards

**URL:** <https://forums.fusetools.com/t/change-properties-of-an-object-afterwards/5122>\
**Category:** How-to Discussions\
**Created:** [November 21, 2016, 12:30pm UTC](https://forums.fusetools.com/t/change-properties-of-an-object-afterwards/5122 "2016-11-21T12:30:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jxns](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@Jxns](https://forums.fusetools.com/u/Jxns)\
**Post date:** [November 21, 2016, 12:30pm UTC](https://forums.fusetools.com/t/change-properties-of-an-object-afterwards/5122/1 "2016-11-21T12:30:03Z")

</div>

Hey guys,

right now i am searching for the possibility to change the properties of an object after it was already created (in best case even from another UX-File).  
For example I created this object:

```auto
<Image ux:Name="myImage" File="Assets/image.png" Visibility="True"/>

```

And afterwards, maybe even from another UX-File if possible, I need to change the visibility or add other parameters to it.

How can i do that?

---

<div class="post-metadata">

**Author:** ![Jxns](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@Jxns](https://forums.fusetools.com/u/Jxns)\
**Post date:** [November 21, 2016, 1:36pm UTC](https://forums.fusetools.com/t/change-properties-of-an-object-afterwards/5122/2 "2016-11-21T13:36:04Z")

</div>

I already found out to do this with

```auto
<Clicked>
    <Set Target="Filter.Visibility" Value="Hidden"/>
</Clicked>

```

But is there away to do this in an UX-File while the Target is in another?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [November 29, 2016, 2:58pm UTC](https://forums.fusetools.com/t/change-properties-of-an-object-afterwards/5122/3 "2016-11-29T14:58:19Z")

</div>

One way to do this is to put the image inside a trigger such as `WhileTrue`, and data bind that to a shared JavaScript variable that you can access from wherever you need it. There’s an example at the end here [https://www.fusetools.com/docs/fuse/triggers/whiletrue](https://www.fusetools.com/docs/fuse/triggers/whiletrue)
