tsu
tsu copied to clipboard
Can't return multiple values back to Blueprint
Currently there's no way to return multiple things back to Blueprint, which is usually done in by returning an object with an entry for each return value, like so:
export function getBounds(target: Actor) {
const origin: Vector = /* ... */;
const extents: Vector = /* ... */;
return { origin, extents };
}
... which would then ideally get translated into a Blueprint node with an output pin for both Origin
and Extents
.