Cheat engines themselves are not illegal, but their use may violate the terms of service of the game, leading to potential consequences such as bans or account suspensions. Always review the game's terms and conditions and use cheats responsibly and ethically.