I've made an API script that should shower blood around in a circle based on the number on token status markers. While it works - the blood always originates at the lower right corner of the token and goes to the right. Not the effect I'm looking for. So for some reason my two points aren't working...this is probably a javascript weirdness. any help would be appreciated. Here's the relevant portion of the script - NOTE: The points show up in the Chat correctly. for ( k = 0 ; k < totalBleed ; k ++) { var x1 = Math . round ( tok . get ( 'left' ) + tok . get ( 'width' )/ 2 ) ; var y1 = Math . round ( tok . get ( 'top' ) + tok . get ( 'height' )/ 2 ); var radius = 140 ; var angle = (( 360 / totalBleed ) * k ) * 3.14159 / 180 ; var p1 = { x : x1 , y : y1 }; var p2 = { x : Math . round ( x1 + radius * Math . cos ( angle )) , y : Math . round ( y1 + radius * Math . sin ( angle )) }; sendChat ( "Bleed: " , "x1,y1:" + p1 . x . toString () + "," + p1 . y . toString () + " - x2,y2: " + p2 . x . toString () + "," + p2 . y . toString () ) ; setTimeout (() => { spawnFxBetweenPoints ( p1 , p2 , 'splatter-blood' , tok . get ( '_pageid' )); }, k * 1000 ); }