# Creating a function with wildcard variables

**URL:** <https://forums.unrealengine.com/t/creating-a-function-with-wildcard-variables/379335>\
**Category:** Blueprint\
**Tags:** function-library, unreal-engine, Blueprint, question\
**Created:** [December 15, 2016, 4:34am UTC](https://forums.unrealengine.com/t/creating-a-function-with-wildcard-variables/379335 "2016-12-15T04:34:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaviorNT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaviorNT](https://forums.unrealengine.com/u/SaviorNT)\
**Post date:** [December 15, 2016, 4:34am UTC](https://forums.unrealengine.com/t/creating-a-function-with-wildcard-variables/379335/1 "2016-12-15T04:34:59Z")

</div>

When I create a function that uses wildcards and then compile, it returns an error informing me that the types are undetermined and to request to connect something to it. If I ignore this, and then use the function anyways, it defaults the input types to integers rather than being wildcards.

A good example is to create a new function, add a Set Array Elem inside of it, then drag the Inputs from the Set Array Elem to the Input area of the function so that it auto-creates the pins. If you then compile, the compiler will give an error.

If anyone needs the reason for doing this, I am trying to increment the index integer along with setting the array element.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [December 15, 2016, 4:24pm UTC](https://forums.unrealengine.com/t/creating-a-function-with-wildcard-variables/379335/2 "2016-12-15T16:24:48Z")

</div>

Hello SaviorNT,

I was able to reproduce this on our end and after a bit of digging I was able to find that this is a known issue. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: [Unreal Engine Issues and Bug Tracker (UE-21008)](https://issues.unrealengine.com/issue/UE-21008)

Make it a great day
