currentPosition

open override var currentPosition: Double

This returns the current position of the motor, accounting for any offsets created by manually settings its currentPosition.

Setting this value tells it that its current position is actually the position you've set the variable to, which will get accounted for automatically when getting this value.