Flip entities based on movement