# A sample for calling a UFunction with reflection?

**URL:** <https://forums.unrealengine.com/t/a-sample-for-calling-a-ufunction-with-reflection/276416>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, documentation, UE4, question\
**Created:** [March 11, 2014, 3:50am UTC](https://forums.unrealengine.com/t/a-sample-for-calling-a-ufunction-with-reflection/276416 "2014-03-11T03:50:18Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![RemRemRemRe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/remremremre/32/974428_2.png) [@RemRemRemRe](https://forums.unrealengine.com/u/RemRemRemRe)\
**Post date:** [December 8, 2024, 6:56am UTC](https://forums.unrealengine.com/t/a-sample-for-calling-a-ufunction-with-reflection/276416/15 "2024-12-08T06:56:51Z")

</div>

I made one of these things recently and with editor support, check the code bellow for more information:

> <https://github.com/RemRemRemRe/RemEditorUtilities/blob/main/Source/RemCommonEditor/Private/Details/RemReflectedFunctionCallDataDetails.cpp#L86>

> <https://github.com/RemRemRemRe/RemCommon/blob/main/Source/RemCommon/Private/Struct/RemReflectedFunctionCallData.cpp#L38>

`RemReflectedFunctionCallData` which support calling a static or member`UFUNCTION`, with almost `any parameters`(except parameter of delegate type (or more) for now because of limitation of `FInstancedPropertyBag`), and has `return value`.

I’m searching for populating `default value` for these parameters ATM.

---

_[View the full topic](https://forums.unrealengine.com/t/a-sample-for-calling-a-ufunction-with-reflection/276416)._
