RealDocs

UAnimInstance::CanTransitionSignature

function Engine Blueprint Since 4.0
#include "Animation/AnimInstance.h"
Access: public Specifiers: UFUNCTIONBlueprintCallableBlueprintPure

Description

Delegate signature function used as the prototype for custom transition rule functions in state machines. This function itself is not called directly — its signature serves as the template that custom transition rule methods must match when referenced by name in state machine transitions.

Caveats & Gotchas

  • This is a signature prototype, not a function you override or call directly. Custom transition functions you create must match this exact signature (no parameters, returns bool) to be usable in state machine transition rules.
  • Functions matching this signature are resolved by name at runtime via the state machine's transition rule configuration. If you rename or remove a matching function, the transition will silently fail to evaluate and the state machine may get stuck.

Signature

UFUNCTION(BlueprintCallable, BlueprintPure, Category="Animation") bool CanTransitionSignature() const

Return Type

bool

Example

Create a custom transition rule function C++
// In your AnimInstance subclass, create a function matching the CanTransitionSignature:
UFUNCTION(BlueprintCallable, BlueprintPure, Category="Animation")
bool CanTransitionToJump() const
{
    return bIsInAir && Speed > MinJumpSpeed;
}

// Reference this function by name in your state machine
// transition rule to use it as a custom transition condition.

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.