Skip to content
The Chat Archive
chatgpt-4o-latest-20250326· OpenAI LMArena Human Preference 140K

In UE5 blueprint, if I bind an event to the "on finished" event of a looping sequence,…

  1. User

    In UE5 blueprint, if I bind an event to the "on finished" event of a looping sequence, will the on finished event play?

  2. Assistant

    In Unreal Engine 5 (UE5) Blueprints, if you bind an event to the "On Finished" event of a sequence or animation (such as a Level Sequence or Timeline), the "On Finished" event will only fire when the playback ends.

    Now, addressing your specific scenario:

    "If I bind an event to the On Finished event of a looping sequence, will the on finished event play?"

    ✅ Short Answer:

    No, the On Finished event will NOT fire if the sequence is set to loop indefinitely.


    💡 Explanation:

    • The On Finished event triggers only once when a sequence or timeline completes its final playback (i.e., when it finishes playing from start to end and doesn't loop anymore).
    • If the sequence is looping, it never reaches a 'finished' state, so On Finished will not be called.

    🎬 Applicable Systems:

    Let’s put this in the context of Timeline components (Blueprint Timelines):

    • A Timeline with "Looping" enabled will never trigger its Finished pin, because:
      • It doesn't reach its end.
      • It restarts automatically — thus never enters a state considered "done".

    Similarly, for Level Sequences or Level Sequence Actors:

    • If the Loop property is enabled (e.g., in Sequence Player settings):
      • It will loop endlessly unless stopped manually.
      • The On Finished delegate/event on the Level Sequence Player won’t trigger, because there is no “finish”.

    🛠️ Workarounds:

    1. Stop the Loop Manually:

      • Use logic (e.g., a counter or condition) to stop the looping at the point you want.
      • Call Stop() on the Timeline or Sequence Player.
      • Then manually call your own custom event.
    2. Bind to Loop Point Instead:

      • For Timelines, you might handle logic in the Update or create markers to act on loop points.
      • For Level Sequences, use Playback Position + Length to detect when a loop restarts and handle that instead.

    ✅ Summary:

    Sequence TypeLooping?Will On Finished Fire?
    TimelineNo✅ Yes
    TimelineYes❌ No
    Level SequenceNo✅ Yes
    Level SequenceYes❌ No

    If you let me know what kind of sequence you're using, I can provide a more tailored Blueprint solution 👍

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.