sensor and moving