# InvokeMethod

Call a method or field.

![InvokeMethod](./images/InvokeMethod.png)

## Properties

<table border="1" class="docutils">
<thead>
<tr><th>Property Name</th><th>Description</th></tr>
</thead>
<tbody valign="top">
<tr>
<td>
Execute Type
</td>
<td>
Execute type.<dl class="docutils">
<dt>Keep</dt><dd>
            Keep executing. Execute until the Decorator returns a failure or another node interrupts.
            </dd>
<dt>Return Failure</dt><dd>
            Returns failure after calling the OnExecute event.
            </dd>
<dt>Return Success</dt><dd>
            Returns success after calling the OnExecute event.
            </dd>
</dl>
</td>
</tr>
<tr>
<td>
Event Entries
</td>
<td>
List of registered events.<br />
            If necessary, you can add an event type by clicking the "Add New Event Type" button.
</td>
</tr>
 </tbody>
</table>


## Remarks

Since the call is made via reflection, stripping can cause the called member to be removed from the build.<br />
            See <a href="https://docs.unity3d.com/Manual/ManagedCodeStripping.html">Unity - Manual:  Managed code stripping</a> for more information.

