Skip to main content

Pointing Effect Component

The Pointing Effect Component is a utility designed to help you easily trigger visual or gameplay effects (like VFXs) when a specific Actor moves or "hovers" above a slot.

Instead of triggering for every Actor, this component allows you to define a list of strict Requirements (rules) directly in the Details panel. It will only fire its activation/deactivation events if the interacting Actor passes these criteria.


⚠️ Prerequisites​

For this component to function, the Actor it is attached to must also have a SlottableComponent.

Upon starting the game, the Pointing Effect Component automatically searches for the Slottable Component on the same Actor and listens to its hover events (OnActorMovedInAboveSlot and OnActorMovedOutAboveSlot). If the Slottable Component is missing, the Pointing Effect Component will not do anything.


How to Use It (Step-by-Step)​

  1. Add the Component: Open your Actor's Blueprint and add the Pointing Effect Component from the components list.
  2. Ensure Slottable Exists: Make sure a Slottable Component is also present on the same Actor.
  3. Set Up Requirements: Click on the Pointing Effect Component. In the Details Panel under the Pointing Effect category, add elements to the Requirements array.
  4. Bind Events: In the Event Graph, select the component, scroll to the bottom of the Details panel, and click the green + icon next to the Activation/Deactivation events to add your custom Blueprint logic (e.g., spawn a particle, play a sound, highlight a mesh).

Properties & Configuration​

The Requirements Array​

Located in the Details panel under Pointing Effect, this array lets you define the conditions an Actor must meet to trigger the pointing effect.

Because these requirements are Instanced, you can expand each array element directly in the Details panel to configure its specific variables.

How the Validation Logic Works:

  • The component evaluates the hovering Actor against all requirements in the list.
  • If a requirement is marked as Mandatory, the Actor must pass it. If it fails even one mandatory requirement, the effect will not trigger.
  • If the list is completely empty, the effect will never trigger.
  • To successfully trigger the effect, the Actor must pass all mandatory requirements and at least one requirement in total.

Blueprint Events​

Once an Actor successfully passes the validation requirements, you can use the following Event Dispatchers in your Blueprint Graph:

Event NameDescriptionOutput Parameters
On Activate Pointing EffectFires when a valid Actor moves into the space above the slot. Use this to turn your effects ON.Pointing Actor (Actor Object Reference): The Actor that triggered the effect.
On Deactivate Pointing EffectFires when the valid Actor moves out of the space above the slot. Use this to turn your effects OFF.Pointing Actor (Actor Object Reference): The Actor that left the slot area.