Since there are 24 toys in the box, there are ¼ * 24 = 6 action figures.
Because the rest of the toys are dolls, there are 24 - 6 = <<24-6=18>>18 dolls in the box.
#### 18