Megan Fox does not appear in Transformers: Dark of the Moon. Her character was replaced by Rosie Huntington‑Whiteley.