control event sprite
rename pdt to pi