I tried the code below, but it doesn't work. How can I get structure's position?
const auto& actors = ArkApi::GetApiUtils().GetWorld()->PersistentLevelField()->GetActorsField();
for (AActor* actor : actors)
{
actor->DefaultActorLocationField();
}
const auto& actors = ArkApi::GetApiUtils().GetWorld()->PersistentLevelField()->GetActorsField();
for (AActor* actor : actors)
{
actor->DefaultActorLocationField();
}