When you make an attack roll using a weapon with the restraining property, you may forego the damage and instead restrain your target. The target may escape as an action using their Acrobatics or Athletics against a DC which equals 8+your dexterity modifier. If the target fails their ability check by 5 or less the DC is lowered by 2, the DC is also lowered by 2 if the target creature is large, and by 4 if it is huge or gargantuan. 

If the restraining property says pulling in a parenthesis following you may also pull them 10 feet towards you as part of that action, or as an Action on a following turn as long as they have not escaped with an Athletics skill check against a DC equal to their Athletics-5.