# What is the modify() function?

**URL:** <https://forums.unrealengine.com/t/what-is-the-modify-function/423853>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 29, 2018, 5:34am UTC](https://forums.unrealengine.com/t/what-is-the-modify-function/423853 "2018-04-29T05:34:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Doublezer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Doublezer0](https://forums.unrealengine.com/u/Doublezer0)\
**Post date:** [November 25, 2018, 3:23am UTC](https://forums.unrealengine.com/t/what-is-the-modify-function/423853/3 "2018-11-25T03:23:23Z")

</div>

Modify stores a snapshot of the Object into the transaction for undo/redo purposes. I believe it will only work if the Object has the flag RF\_Transactional.

---

_[View the full topic](https://forums.unrealengine.com/t/what-is-the-modify-function/423853)._
