Unreal Engine 4 Documentation > Unreal Engine API Reference > Runtime > Engine > Components > USceneComponent > USceneComponent::CheckStaticMobilityAndWarn

USceneComponent::CheckStaticMobilityAndWarn

Syntax

bool CheckStaticMobilityAndWarn
(
    const FText & ActionText
)

Remarks

Check if mobility is set to non-static. If it's static we trigger a PIE warning and return true

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp