# What's the trick to defining an array param in a UFUNCTION?

**URL:** <https://forums.unrealengine.com/t/whats-the-trick-to-defining-an-array-param-in-a-ufunction/286333>\
**Category:** Blueprint\
**Tags:** unreal-engine, CPP, Blueprint, question\
**Created:** [June 19, 2014, 8:03pm UTC](https://forums.unrealengine.com/t/whats-the-trick-to-defining-an-array-param-in-a-ufunction/286333 "2014-06-19T20:03:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![plojnitza](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plojnitza](https://forums.unrealengine.com/u/plojnitza)\
**Post date:** [November 8, 2016, 11:05am UTC](https://forums.unrealengine.com/t/whats-the-trick-to-defining-an-array-param-in-a-ufunction/286333/5 "2016-11-08T11:05:01Z")

</div>

If you want the array to remain editable, try the UPARAM(ref)

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/whats-the-trick-to-defining-an-array-param-in-a-ufunction/286333)._
