How do i convert this into JavaScript ?

Vector3 fwd = transform.TransformDirection(Vector3.forward);

thank you very much in advance :slight_smile:

var fwd = transform.TransformDirection(Vector3.forward);