A UTE crashed into playground equipment at the Gwynne Park Primary School in Armadale yesterday afternoon after school had finished for the day.
The incident happened about 3.35pm when a man in his 30s was driving a Ford Falcon on Neilson Road, Brookdale.
Police said he crashed into the playground equipment after reportedly suffering an epileptic seizure.
The driver was taken to the Armadale Hospital before he was transferred to Royal Perth Hospital.
There are no details of injuries and police are still looking into the cause of the crash.
Witnesses said the ute drove up a kerb, through a fence before stopping in the playground.
Fire and rescue personnel attended the scene to cut the driver from the vehicle.