how to simulate Telekinesis using commands?

basically i mark a entity and teleport it many times to wherever i am looking but it didnt work that well since it was hard go move the entity around

Continue to help post