Move object script

View must be centered or script does not work correctly