# How to call function with reference argument

**URL:** <https://forums.sui.io/t/how-to-call-function-with-reference-argument/46370>\
**Category:** Move\
**Created:** [November 11, 2024, 11:54am UTC](https://forums.sui.io/t/how-to-call-function-with-reference-argument/46370 "2024-11-11T11:54:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hayk](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hayk](https://forums.sui.io/u/hayk)\
**Post date:** [November 11, 2024, 11:54am UTC](https://forums.sui.io/t/how-to-call-function-with-reference-argument/46370/1 "2024-11-11T11:54:12Z")

</div>

I have a function with a (&mut Obj) parameter. How can I call this function?  
I can easily call that function when the parameter is just Obj using its Id, but that way I have to delete the Object in the function.
