I was trying to make a demo to help someone on the forums, however i’ve found it’s not working
controller = GameLogic.getCurrentController()
owner = controller.owner
#script controller is on the camera, attatch other sensors to the camera controller.
#object sensor is an always sensor
object = controller.sensors["object"].owner
owner.position[0] = object.position[0]