Hi,
you mean the the orientation vector of the KinematicBody?
var forward_vector = Vector2(0,1)
var the_object = self
var orientation_global = (the_object.to_global( forward_vector ) - the_object.global_position)
i make a vector pointing one unit to the front of the object and transform them to global space. Then subtract the offset (object position). Then you have a vector from world origin one unit in facing direction,