RealDocs

UKismetMathLibrary::NotEqual_IntPointIntPoint

function Engine Blueprint Since unknown
#include "Kismet/KismetMathLibrary.h"
Access: public Specifiers: staticBlueprintPureUFUNCTION

Description

Returns true if A and B differ in at least one component (A != B). The Blueprint node displays as '!='.

Caveats & Gotchas

  • Returns true even if only one component differs — both X and Y must match for the result to be false.
  • In C++ the != operator on FIntPoint is equivalent and more idiomatic; use this function primarily for Blueprint or Python scripting.

Signature

static UE_INL_API bool NotEqual_IntPointIntPoint(FIntPoint A, FIntPoint B);

Parameters

Name Type Description Default
A FIntPoint Left-hand IntPoint.
B FIntPoint Right-hand IntPoint.

Return Type

bool

Example

Detect that a cursor has moved to a new tile C++
FIntPoint PrevTile(2, 3);
FIntPoint CurrTile(2, 4);
if (UKismetMathLibrary::NotEqual_IntPointIntPoint(PrevTile, CurrTile))
{
    // Cursor moved — refresh highlight
}

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.