[engine] add move and resize project functions in component.