Velocity Orientation Property

I am trying to use the Cesium.VelocityOrientationProperty function using the selectedEntity.position property but it results in an undefined.

All of the examples I have seen the input position is being built using a custom sample property instead of using one that is already created. Can I use the selectedEntity.position property?

Thanks

You absolutely can, but keep in mind that the position property isn’t guaranteed to exist or may not contain a dynamic position (meaning it has no way to derive orientation, therefore making it undefined).

Can you explain in more detail what you are trying to do?