Arduino code for actuators

How the code looks like to make both actuators vibrate at the same time

depends on:

  1. how activating a single actuator works.
    • H-bridge?, PWM?, what function-call?
  1. what logic your program has
    • conditions? , a state-machine? if else-if?, interrupts?
  1. power-supply

I'm pretty sure that you do not yet know what all the terms asked for above mean

So the simplest way to receive effective help is if you post your
complete sketch as described in this short tutorial

best regards Stefan