# FinishPulleyJoint

## Description

Creates a pulley joint between two sprites. This the second half of a two command setup. Due to the number of parameters required you must call CreatePulleyJoint2 first with the initial set of parameters to create the joint. This command returns the ID of the new joint.

## Definition

integer FinishPulleyJoint( gnd1x, gnd1y, gnd2x, gnd2y, a1x, a1y, a2x, a2y )

UINT agk::FinishPulleyJoint( float gnd1x, float gnd1y, float gnd2x, float gnd2y, float a1x, float a1y, float a2x, float a2y )

## Parameters

- gnd1x - The x coordinate of the first ground point
- gnd1y - The y coordinate of the first ground point
- gnd2x - The x coordinate of the second ground point
- gnd2y - The y coordinate of the second ground point
- a1x - The x coordinate of the first anchor point
- a1y - The y coordinate of the first anchor point
- a2x - The x coordinate of the second anchor point
- a2y - The y coordinate of the second anchor point